{include file="public/header" /}
<body>
<div class="header team-header">
    <i class="layui-icon layui-icon-left"></i> 我的团队
</div>

<ul class="my-team-nav">
    <li>
        <img src="/static/index/img/icon23.png" alt="">
        <div>
            <p class="flex-center">
                <img src="/static/index/img/icon26.png" alt="">
            </p>
            <p class="price"><span>{$dpn}</span></p>
            <p>直推人数</p>
        </div>
    </li>
    <li>
        <img src="/static/index/img/icon25.png" alt="">
        <div>
            <p class="flex-center">
                <img src="/static/index/img/icon26.png" alt="">
            </p>
            <p class="price"><span>{$team}</span></p>
            <p>团队总人数</p>
        </div>
    </li>
</ul>

<div class="my-team-user">
    <div>
        <p>团队成员</p>
        <p></p>
    </div>
</div>

<ul class="my-team-list tpl_list">

</ul>
<script id="template" type="text/html">
    {{# for(var i=0 ;i < d.data.length; i++){ }}
    <li>
        <p class="flex-center">
            <img src="{{d.data[i].fresh.photo ? d.data[i].fresh.photo:'/static/index/img/photo.png'}}" alt="">
        </p>
        <div class="rgt" style=" text-align: right !important;">
            <div class="flex-layout">
                <p class="name">{{d.data[i].fresh.nickname}} {{# if(d.data[i].fresh.level){ }}<span>{{d.data[i].fresh.level.title}}</span>{{# } }}</p>
                <!-- <p>团队业绩</p> -->
            </div>
            <div class="flex-layout">
                <p>{{d.data[i].fresh.mobile}}</p>
                <!-- <p class="price">￥<span>{{d.data[i].fresh.team_total}}</span></p> -->
            </div>
        </div>
    </li>

    {{# } }}
</script>
</body>
{include file="public/footer"/}
<script>
    $(function () {
        getFlow(1, "{:url('user/my_team')}");
    })

</script>
</html>